const http = uni.$u.http;

/* 活动接口 */

// 获取活动列表
export const getActivityList = (data) => http.get(`/activity/list`, {
	params: data
})

// 根据id获取指定活动详情
export const getActivityById = (id) => http.get(`/activity/detail/${id}`)

// 获取活动报名表单
export const getActivitySignUpForm = (id) => http.get(`/activity/form/${id}`)